package com.xiaomi.dao;


import com.xiaomi.entity.Product;

import java.util.List;

/**
 * @author jy
 * @Description: TODO
 * @date 2021/5/24
 */
public interface ProductDao {
    List<Product> list(int tid, int begin, int pageNum) throws Exception;

    int count(int tid) throws Exception;

    Product getProductByPid(int pid) throws Exception;
}
